package com.bdsc.blogs.mirror.exception;

/**
 * @author 马凯林
 */
public class MvcBusinessException extends RuntimeException {

  public MvcBusinessException() {
  }

  public MvcBusinessException(String message) {
    this.message = message;
  }

  private String message;
  private int code;

  @Override
  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }

  public int getCode() {
    return code;
  }

  public void setCode(int code) {
    this.code = code;
  }
}
